﻿using Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ZXIMEW.DAL.Base;
using ZXIMEW.Models.DModels;

namespace ZXIMEW.DAL
{
    public class AlarmParaDAL:BaseDAL<AlarmParaInfo>
    {
        /// <summary>
        /// 获取所有的报警参数
        /// </summary>
        /// <returns></returns>
       public List<AlarmParaInfo> GetAllAlarmParas()
        {
            string cols = PropertyHelper.GetColNames<AlarmParaInfo>("IsDeleted");
            return GetModelList(cols, "", 0);
        }
    }
}
